Fast Generation of Fibonacci Permutations

نویسندگان

  • A. Juarna
  • V. Vajnovszki
  • Asep JUARNA
  • Vincent VAJNOVSZKI
چکیده

In 1985, Simion and Schmidt showed that |Sn(τ3)|, the cardinality of the set of all length n permutations avoiding the patterns τ3 = {123, 213, 132} is the Fibonacci numbers, fn+1. They also developed a constructive bijection between the set of all binary strings with no two consecutive ones and Sn(τ3). In May 2004, Egge and Mansour generalized this SimionSchmidt counting result and showed that, Sn(τp), the set of permutations avoiding the patterns τp = {12...p, 213, 132} is counted by the (p − 1)-generalized Fibonacci numbers, f (p−1) n+1 . The Simion-Schmidt’s set of binary strings is F (2) n−1, the well known Fibonacci strings, which is a special case of F (p) n , p-generalized Fibonacci strings having no p − 1 consecutive ones. In May 2001, Vajnovszki proposed a loopless algorithm for generating F (p) n , a Gray code for F (p) n . This algorithm has a constant worst case time while the Hamming distance between any two consecutive strings in F (p) n is one. In this paper we formalize and generalize the Simion-Schmidt bijection so that the new bijection now is between F (p−1) n−1 and Sn(τp), and we show that, Sn(τp), the image of the ordered list F (p) n through this generalized bijection is a list for all length n permutations avoiding the patterns τp = {12...p, 213, 132} with the Hamming distance between any two consecutive permutations bounded by (p−1), and so a Gray code for Sn(τp). We also propose a loopless algorithm, which is a modification of Vajnovszki’s algorithm, and which generates Sn(τp) also in constant worst case time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Restricted Permutations, Fibonacci Numbers, and k-generalized Fibonacci Numbers

In 1985 Simion and Schmidt showed that the number of permutations in Sn which avoid 132, 213, and 123 is equal to the Fibonacci number Fn+1. We use generating function and bijective techniques to give other sets of pattern-avoiding permutations which can be enumerated in terms of Fibonacci or k-generalized Fibonacci numbers.

متن کامل

GENERALIZED q - FIBONACCI NUMBERS

We introduce two sets of permutations of {1, 2, . . . , n} whose cardinalities are generalized Fibonacci numbers. Then we introduce the generalized q-Fibonacci polynomials and the generalized q-Fibonacci numbers (of first and second kind) by means of the major index statistic on the introduced sets of permutations.

متن کامل

Permutation Statistics and q-Fibonacci Numbers

In a recent paper, Goyt and Sagan studied distributions of certain set partition statistics over pattern restricted sets of set partitions that were counted by the Fibonacci numbers. Their study produced a class of q-Fibonacci numbers, which they related to q-Fibonacci numbers studied by Carlitz and Cigler. In this paper we will study the distributions of some Mahonian statistics over pattern r...

متن کامل

Restricted Permutations Related to Fibonacci Numbers and k-Generalized Fibonacci Numbers

A permutation π ∈ Sn is said to avoid a permutation σ ∈ Sk whenever π contains no subsequence with all of the same pairwise comparisons as σ. In 1985 Simion and Schmidt showed that the number of permutations in Sn which avoid 123, 132, and 213 is the Fibonacci number Fn+1. In this paper we generalize this result in two ways. We first show that the number of permutations which avoid 132, 213, an...

متن کامل

Combinatorial Gray codes for classes of pattern avoiding permutations

The past decade has seen a flurry of research into pattern avoiding permutations but little of it is concerned with their exhaustive generation. Many applications call for exhaustive generation of permutations subject to various constraints or imposing a particular generating order. In this paper we present generating algorithms and combinatorial Gray codes for several families of pattern avoid...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004